package com.wfg.common;

import java.util.HashMap;
import java.util.Map;

/**
 * @author wufagang
 * @description
 * @date 2023年05月10日 07:44
 */
public class LocalRegister {

    private static Map<String, Class> map = new HashMap<>();
    public static void regist(String interfaceName, Class implClass){
        map.put(interfaceName,implClass);
    }

    public static Class get(String interfaceName){
        return map.get(interfaceName);
    }
}
